package com.example.sprinbootdemo.service;

import com.example.sprinbootdemo.entity.Renter;
import java.util.List;

public interface RenterService {
    List<Renter> getAllRenters();
    void addRenter(Renter renter);
    void deleteRenterById(int renterId);
    void updateRenterById(Renter renter);
    List<Renter> getRentersByName(String name);
}